import type { UserType } from '@/types'
import { defineStore } from 'pinia'
//pinia管理全局的数据

export default defineStore('currentUser', {
	state: () => {
		return {
			currentUser: {
				username: '',
				password: '',
			} as UserType,
		}
	},
})